; pascal ComponentResult SGAddMovieData(SeqGrabComponent s, SGChannel c, Ptr p, long len, long *offset, long chRefCon, TimeValue time, short writeType)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGAddMovieData
move.l #$001A0105,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGAddMovieData
ENDIF
;
; pascal ComponentResult SGChangedSource(SeqGrabComponent s, SGChannel c)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGChangedSource
move.l #$00040106,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGChangedSource
ENDIF
; ** Sequence Grab CHANNEL Component Stuff **
;
; pascal ComponentResult SGSetChannelUsage(SGChannel c, long usage)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGSetChannelUsage
move.l #$00040080,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGSetChannelUsage
ENDIF
;
; pascal ComponentResult SGGetChannelUsage(SGChannel c, long *usage)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGGetChannelUsage
move.l #$00040081,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGGetChannelUsage
ENDIF
;
; pascal ComponentResult SGSetChannelBounds(SGChannel c, const Rect *bounds)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGSetChannelBounds
move.l #$00040082,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGSetChannelBounds
ENDIF
;
; pascal ComponentResult SGGetChannelBounds(SGChannel c, Rect *bounds)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGGetChannelBounds
move.l #$00040083,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGGetChannelBounds
ENDIF
;
; pascal ComponentResult SGSetChannelVolume(SGChannel c, short volume)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGSetChannelVolume
move.l #$00020084,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGSetChannelVolume
ENDIF
;
; pascal ComponentResult SGGetChannelVolume(SGChannel c, short *volume)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGGetChannelVolume
move.l #$00040085,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGGetChannelVolume
ENDIF
;
; pascal ComponentResult SGGetChannelInfo(SGChannel c, long *channelInfo)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGGetChannelInfo
move.l #$00040086,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGGetChannelInfo
ENDIF
;
; pascal ComponentResult SGSetChannelPlayFlags(SGChannel c, long playFlags)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGSetChannelPlayFlags
move.l #$00040087,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGSetChannelPlayFlags
ENDIF
;
; pascal ComponentResult SGGetChannelPlayFlags(SGChannel c, long *playFlags)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGGetChannelPlayFlags
move.l #$00040088,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGGetChannelPlayFlags
ENDIF
;
; pascal ComponentResult SGSetChannelMaxFrames(SGChannel c, long frameCount)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGSetChannelMaxFrames
move.l #$00040089,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGSetChannelMaxFrames
ENDIF
;
; pascal ComponentResult SGGetChannelMaxFrames(SGChannel c, long *frameCount)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGGetChannelMaxFrames
move.l #$0004008A,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGGetChannelMaxFrames
ENDIF
;
; pascal ComponentResult SGSetChannelRefCon(SGChannel c, long refCon)
; pascal ComponentResult SGSetCompressBuffer(SGChannel c, short depth, const Rect *compressSize)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGSetCompressBuffer
move.l #$00060113,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGSetCompressBuffer
ENDIF
;
; pascal ComponentResult SGGetCompressBuffer(SGChannel c, short *depth, Rect *compressSize)
;
IF ¨ GENERATINGCFM THEN
Macro
_SGGetCompressBuffer
move.l #$00080114,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION SGGetCompressBuffer
ENDIF
;
; pascal ComponentResult SGGetBufferInfo(SGChannel c, short bufferNum, PixMapHandle *bufferPM, Rect *bufferRect, GWorldPtr *compressBuffer, Rect *compressBufferRect)
; pascal VideoDigitizerError VDSetBlackLevelValue(VideoDigitizerComponent ci, unsigned short *blackLevel)
;
IF ¨ GENERATINGCFM THEN
Macro
_VDSetBlackLevelValue
move.l #$00040037,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION VDSetBlackLevelValue
ENDIF
;
; pascal VideoDigitizerError VDGetBlackLevelValue(VideoDigitizerComponent ci, unsigned short *blackLevel)
;
IF ¨ GENERATINGCFM THEN
Macro
_VDGetBlackLevelValue
move.l #$00040038,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION VDGetBlackLevelValue
ENDIF
;
; pascal VideoDigitizerError VDSetWhiteLevelValue(VideoDigitizerComponent ci, unsigned short *whiteLevel)
;
IF ¨ GENERATINGCFM THEN
Macro
_VDSetWhiteLevelValue
move.l #$00040039,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION VDSetWhiteLevelValue
ENDIF
;
; pascal VideoDigitizerError VDGetWhiteLevelValue(VideoDigitizerComponent ci, unsigned short *whiteLevel)
;
IF ¨ GENERATINGCFM THEN
Macro
_VDGetWhiteLevelValue
move.l #$0004003A,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION VDGetWhiteLevelValue
ENDIF
;
; pascal VideoDigitizerError VDGetVideoDefaults(VideoDigitizerComponent ci, unsigned short *blackLevel, unsigned short *whiteLevel, unsigned short *brightness, unsigned short *hue, unsigned short *saturation, unsigned short *contrast, unsigned short *sharpness)
;
IF ¨ GENERATINGCFM THEN
Macro
_VDGetVideoDefaults
move.l #$001C003B,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION VDGetVideoDefaults
ENDIF
;
; pascal VideoDigitizerError VDGetNumberOfInputs(VideoDigitizerComponent ci, short *inputs)
;
IF ¨ GENERATINGCFM THEN
Macro
_VDGetNumberOfInputs
move.l #$0004003C,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION VDGetNumberOfInputs
ENDIF
;
; pascal VideoDigitizerError VDGetInputFormat(VideoDigitizerComponent ci, short input, short *format)
;
IF ¨ GENERATINGCFM THEN
Macro
_VDGetInputFormat
move.l #$0006003D,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION VDGetInputFormat
ENDIF
;
; pascal VideoDigitizerError VDSetInput(VideoDigitizerComponent ci, short input)
;
IF ¨ GENERATINGCFM THEN
Macro
_VDSetInput
move.l #$0002003E,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION VDSetInput
ENDIF
;
; pascal VideoDigitizerError VDGetInput(VideoDigitizerComponent ci, short *input)
;
IF ¨ GENERATINGCFM THEN
Macro
_VDGetInput
move.l #$0004003F,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION VDGetInput
ENDIF
;
; pascal VideoDigitizerError VDSetInputStandard(VideoDigitizerComponent ci, short inputStandard)
; pascal ComponentResult TuneGetIndexedNoteChannel(TunePlayer tp, long i, NoteChannel *nc)
;
IF ¨ GENERATINGCFM THEN
Macro
_TuneGetIndexedNoteChannel
move.l #$00080008,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION TuneGetIndexedNoteChannel
ENDIF
; Values for when to start.
kTuneStartNow EQU 1 ; start after buffer is implied
kTuneDontClipNotes EQU 2 ; allow notes to finish their durations outside sample
kTuneExcludeEdgeNotes EQU 4 ; dont play notes that start at end of tune
kTuneStartNewMaster EQU 16384
;
; pascal ComponentResult TuneQueue(TunePlayer tp, unsigned long *tune, Fixed tuneRate, unsigned long tuneStartPosition, unsigned long tuneStopPosition, unsigned long queueFlags, TuneCallBackUPP callBackProc, long refCon)
;
IF ¨ GENERATINGCFM THEN
Macro
_TuneQueue
move.l #$001C000A,-(sp)
moveq #0,D0
dc.w $A82A
EndM
ELSE
IMPORT_CFM_FUNCTION TuneQueue
ENDIF
;
; pascal ComponentResult TuneInstant(TunePlayer tp, unsigned long *tune, long tunePosition)